<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
namespace Model;
    
    use Fuel\Core\Model_Crud;
    
    class Practica extends Model_Crud{
        
        protected static $_table_name = "Practica";
        protected static $_primay_key = "idPractica";
        
        protected static $_rules = array(
            
            'fecha_in' => 'required',
            'fecha_end' => 'required',
            'funcion' => 'required',
            'Estudiante_idEstudiante' => 'required',
            'SupervisorPracticante_idSupervisorPracticante' => 'required',
            'Empresa_idEmpresa' => 'required',
        );
    }

?>
